package com.epam.web_project.bank.entity;

import java.sql.Date;

public class Card {
	private String cardType;
	private String number;
	private int id;
	private String cvv;
	private Date expires;
	
	public Card() {}

	public String getCardType() {
		return cardType;
	}

	public void setCardType(String cardType) {
		this.cardType = cardType;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getCvv() {
		return cvv;
	}

	public void setCvv(String cvv) {
		this.cvv = cvv;
	}

	public Date getExpires() {
		return expires;
	}

	public void setExpires(Date expires) {
		this.expires = expires;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "Card [cardType=" + cardType + ", number=" + number + ", id="
				+ id + ", cvv=" + cvv + ", expires=" + expires + "]";
	}
	
}
